import request from '@/utils/request'
//物流列表
export const getLogisticsListApi=(query)=>{
  return request ({
    url:'/module/logisticscost/list',
    method:'GET',
    params:query,
  })
}
//物流详情
export const getLogisticsInfoApi=(id)=>{
  return request({
    url:'/module/logisticscost/'+id,
    method:'GET'
  })
}
//新增
export const addLogisticsApi=(data)=>{
  return request({
    url:'/module/logisticscost/add',
    method:'POST',
    data,
  })
}
//修改
export  const editLogisticsApi=(data)=>{
  return request({
    url:'/module/logisticscost/update',
    method:'PUT',
    data,
  })
}
//删除
export const delLogistApi=(id)=>{
  return request({
    url:'/module/logisticscost/remove/'+id,
    method:'DELETE'
  })
}
// 查询出库单物流未完成
export function getoutmoneyApi(){
	return request({
		url:"/module/logisticscost/getOutBoundlist",
		method:'GET'
	})
}
export function getBackmoneyApi(){
	return request({
		url:'/module/logisticscost/getReturnlist',
		method:"GET"
	})
}
export function getTranferMoney(){
	return request({
		url:'/module/logisticscost/getTranslist',
		method:"GET"
	})
}